home *** CD-ROM | disk | FTP | other *** search
Java Source | 1997-11-24 | 501 b | 41 lines |
- /*
- * File:
- * Callback.java
- *
- * Copyright (c) 1996-1997 SuperCede, Inc. All rights reserved.
- *
- */
-
- import java.awt.*;
-
- public class Callback
- {
- public static final int Rectangle = 0;
- public static final int Circle = 1;
-
- public int getShape ()
- {
- return Rectangle;
- }
-
- public Color getColor ()
- {
- return Color.blue;
- }
-
- public int getSize ()
- {
- return 50;
- }
-
- public int getStep ()
- {
- return 3;
- }
-
- public int getSleep ()
- {
- return 6;
- }
- }
-